package cn.edu.sdjzu.xg23.kcsj01_backend.mapper;

import cn.edu.sdjzu.xg23.kcsj01_backend.entity.Project;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProjectMapper {
    boolean insert(Project project);

    void update(Project project);

    List<Project> selectProjectsByCondition(@Param("project") Project project,
                                          @Param("employeeId") Long employeeId);
    boolean approveProject(Project project);
}
